<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>公文编号管理</title>
	<!-- 引入基础的JS和CSS文件 -->
	<%@ include file="/common/meta.jsp"%>	
	
	<script src="${ctx}/resources/js/jquery/jquery.js" type="text/javascript"></script>
	<script src="${ctx}/resources/js/jquery/jquery.form.js" type="text/javascript"></script>
</head>

<body topmargin="0">
<form action="oa-doc-code!list.action">

	<!---------------- 标题栏 开始 ----------------->
	<table class="tb_custom">
		<tr>
			<td width="5" align="right"><img src="${ctx}/resources/images/icons/16_16/application_view_list.png" hspace="8"/></td>
			<td class="title">公文编号管理列表</td>
			<td width="20" align="right"><img src="${ctx}/resources/images/icons/16_16/tag_green.png" hspace="8"/></td>
			<td class="title_tip">可根据不同条件组合查询公文编号管理列表</td>
		</tr>
	</table>
	<table class="tb_custom" height="5">
		<tr><td height="3" background="${ctx}/resources/images/style/blue/bg_line.gif"></td></tr>
	</table>
	<!---------------- 标题栏 结束 ----------------->


	<!---------------- 工具栏 开始 ----------------->
	<table class="tb_custom">
		<tr>
			<td class="td_header">&nbsp;
				<input type="button" value=" 增 加 " title="增加公文编号管理信息"
					onclick="javascript:openUrl('oa-doc-code!input.action');"/>
				<input type="button" value=" 删 除 " title="删除选中的公文编号管理信息"
					onclick="javascript:delMore('oa-doc-code!deleteMore.action');"/>
			</td>
		</tr>
	</table>
	<table height="8"><tr><td></td></tr></table>
	<!---------------- 工具栏 结束 ----------------->


	<!---------------- 查询区域 开始 ----------------->
	<table class="tb_custom">
			<tr>
				<td class="td_header_r" width="10%">所属公文&nbsp;&nbsp;</td>
				<td class="td_header_l">
					<input type="text" name="template" value="${template}"  class="text"/>
				</td>

				<td class="td_header_r" width="10%">字号样式&nbsp;&nbsp;</td>
				<td class="td_header_l">
					<input type="text" name="word" value="${word}"  class="text"/>
				</td>

				<td class="td_header_r" width="10%">年度&nbsp;&nbsp;</td>
				<td class="td_header_l">
					<input type="text" name="year" value="${year}"  class="text"/>
				</td>

			</tr>
			<tr>
				<td class="td_header_r" width="10%">流水号&nbsp;&nbsp;</td>
				<td class="td_header_l">
					<input type="text" name="seq" value="${seq}"  class="text"/>
				</td>

				<td class="td_header_r" width="10%">单位&nbsp;&nbsp;</td>
				<td class="td_header_l">
					<input type="text" name="unit" value="${unit}"  class="text"/>
				</td>

				<td class="td_header_r" width="10%">漏号。以逗号分隔。&nbsp;&nbsp;</td>
				<td class="td_header_l">
					<input type="text" name="leakNo" value="${leakNo}"  class="text"/>
				</td>

			</tr>
			<tr>
				<td class="td_header_r" colspan="6">
					<input type="button" value=" 查 询 " onclick="search()" title="查询符合条件的信息"/>					
					<input type="button" value=" 清 空 " onclick="clearForm();search()" title="清空查询条件"/>&nbsp;
				</td>
			</tr>
	</table>
	<table height="10"><tr><td></td></tr></table>
	<!---------------- 查询区域 结束 ----------------->


	<!---------------- 列表区域 开始 ----------------->
	<table class="tb_custom">
		<tr>
			<th class="td_header" width="2%">
				<input type="checkbox" id="checkall" title="全选" onclick="checkAll('checkedIds', checkall)"/>
			</th>
			<th class="td_header">主键</th>
			<th class="td_header">所属公文</th>
			<th class="td_header">字号样式</th>
			<th class="td_header">年度</th>
			<th class="td_header">流水号</th>
			<th class="td_header">单位</th>
			<th class="td_header">漏号。以逗号分隔。</th>
			<th class="td_header" colspan="2">操作</th>
		</tr>
		<s:iterator value="page.result">
			<tr>
				<td class="td_content" align="center">
					<input type="checkbox" name="checkedIds" value="${id}"/>
				</td>
				<td class="td_content">${id}</td>
				<td class="td_content">${template}</td>
				<td class="td_content">${word}</td>
				<td class="td_content">${year}</td>
				<td class="td_content">${seq}</td>
				<td class="td_content">${unit}</td>
				<td class="td_content">${leakNo}</td>
				<td class="td_content" align="center" width="5%"><a href="oa-doc-code!input.action?id=${id}"><img src="${ctx}/resources/images/icons/16_16/application_form_edit.png" border="0" alt="修改" /></a></td>
				<td class="td_content" align="center" width="5%"><a href="javascript:del('oa-doc-code!delete.action?id=${id}')"><img src="${ctx}/resources/images/icons/16_16/delete_icon.png" border="0" alt="删除" /></a></td>
			</tr>
		</s:iterator>
	</table>
	<!---------------- 列表区域 结束 ----------------->


	<!---------------- 分页区域 开始 ----------------->
	<%@ include file="/common/pager.jsp"%>
	<!---------------- 分页区域 结束 ----------------->
	
</form>
</body>
</html>
